package com.moli.iov.handle.alarm.model.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *  上线下线Dto
 * </p>
 *
 * @author: zql
 * @Date: 2019/2/19 15:54
 */
@Data
public class AlarmOnLineDto implements Serializable {
    private static final long serialVersionUID = 5897645079828355036L;

    public AlarmOnLineDto() {
    }

    public AlarmOnLineDto(String vin, Boolean status, Long timestamp) {
        this.vin = vin;
        this.status = status;
        this.timestamp = timestamp;
    }

    /**
     * 车架号
     */
    private  String vin;

    /***
     * 车辆的状态。true，上线，false，下线
     */
    private  Boolean status;

    /***
     * 上线或者下线的时间戳
     */
    private Long timestamp;
}
